package com.wwu.entity.dict;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * 诊断字典信息返回
 * @Author: 一蓑烟雨
 * @Date: 2022/3/17 0017 下午 20:55
 */
@XmlRootElement(name = "ResponseData")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
public class DiagDictData {
	/** 返回值编码 */
	@XmlElement(name = "Code")
	@JSONField(ordinal = 1)
	private long code;

	/** 返回值名称 */
	@XmlElement(name = "Msg")
	@JSONField(ordinal = 2)
	private String msg;

	/** 诊断字典信息根节点名为DiagDictInfo */
	@XmlElementWrapper(name = "DiagDictInfo")
	@XmlElement(name = "DiagDict")
	@JSONField(ordinal = 3)
	private List<DiagDict> diagDictInfo;
}
